<?php

$this->Html->addCrumb('<i class="fa fa-home"></i> ' . Inflector::camelize($this->request->params ['prefix']), '/' . $this->request->params ['prefix'] . '/', array('escape' => false));
$this->Html->addCrumb(__('Orders'), array('prefix' => $this->request->params['prefix'], 'controller' => $this->request->params['controller'], 'plugin' => $this->request->params['plugin'], 'action' => 'index'), array('escape' => false));
$this->Html->addCrumb(__('List'), NULL, array('escape' => false));

$this->Html->setAcoes('<i class="fa fa-search"></i>' . __('List'), array('action' => 'index'), array('title' => __('List'), 'class' => 'btn btn-info', 'escapeTitle' => false));
?>

<?php

echo $this->Form->create('Order', array(
    'inputDefaults' => array(
        'div' => array('class' => 'form-group col-xs-12 col-md-4'),
        'wrapInput' => false,
        'class' => 'form-control col-xs-12'
    ),
    'class' => 'form-group',
    'role' => 'form'
));

echo $this->Form->input('Order.id', array('label' => __('ID')));
echo $this->Form->input('Order.first_name', array('label' => __('first_name')));
echo $this->Form->input('Order.last_name', array('label' => __('last_name')));
echo $this->Form->input('Order.email', array('label' => __('email')));
echo $this->Form->input('Order.phone', array('label' => __('phone')));
echo $this->Form->input('Order.billing_address', array('label' => __('billing_address')));
echo $this->Form->input('Order.billing_address2', array('label' => __('billing_address2')));
echo $this->Form->input('Order.billing_city', array('label' => __('billing_city')));
echo $this->Form->input('Order.billing_zip', array('label' => __('billing_zip')));
echo $this->Form->input('Order.billing_state', array('label' => __('billing_state')));
echo $this->Form->input('Order.billing_country', array('label' => __('billing_country')));
echo $this->Form->input('Order.shipping_address', array('label' => __('shipping_address')));
echo $this->Form->input('Order.shipping_address2', array('label' => __('shipping_address2')));
echo $this->Form->input('Order.shipping_city', array('label' => __('shipping_city')));
echo $this->Form->input('Order.shipping_zip', array('label' => __('shipping_zip')));
echo $this->Form->input('Order.shipping_state', array('label' => __('shipping_state')));
echo $this->Form->input('Order.shipping_country', array('label' => __('shipping_country')));
echo $this->Form->input('Order.weight', array('label' => __('weight')));
echo $this->Form->input('Order.order_item_count', array('label' => __('ordem_item_count')));
echo $this->Form->input('Order.subtotal', array('label' => __('subtotal')));
echo $this->Form->input('Order.tax', array('label' => __('tax')));
echo $this->Form->input('Order.shipping', array('label' => __('shipping')));
echo $this->Form->input('Order.total', array('label' => __('total')));
echo $this->Form->input('Order.order_type', array('label' => __('order_type')));
echo $this->Form->input('Order.authorization', array('label' => __('authorization')));
echo $this->Form->input('Order.transaction', array('label' => __('transaction')));
echo $this->Form->input('Order.status', array('label' => __('status')));
echo $this->Form->input('Order.ip_address', array('label' => __('ip_address')));
echo '<div class="text-right"><ul><li style="display: inline-block;margin:10px 3px 0px 3px;">';
echo $this->Form->button(__('Save'), array('class' => 'btn btn-primary'));
echo '</li></ul></div>';
echo $this->Form->end();
?>